﻿using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

#nullable disable

namespace Domain.Entities;

/// <summary>
/// 就医咨询问答对话记录表
/// </summary>
[Table("MedicalQuestionAnswerPairs")]
public partial class MedicalQuestionAnswerPairs : BaseAuditableEntity, ISoftDeletedEntity
{
    /// <summary>
    /// 问题
    /// </summary>
    public string? Question { get; set; }

    /// <summary>
    /// 答案
    /// </summary>
    public string? Answer { get; set; }

    /// <summary>
    /// 删除标识
    /// </summary>
    public bool? IsDeleted { get; set; }

    [Column("KnowledgeBaseId")]
    public KnowledgeBase KnowledgeBase { get; set; }

    public long? KnowledgeBaseId { get; set; }

    [Column("DialogueId")]
    public Dialogue Dialogue { get; set; }
    public long? DialogueId { get; set; }
}
